﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Shared/Window.master" AutoEventWireup="true" CodeFile="GAAEGeneralVoucher.aspx.cs" Inherits="View_GeneralAccounting_AddEditGeneralVoucher" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" Runat="Server">
Quản lý phiếu kế toán
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<script type="text/javascript" src="../../Scripts/ResizeWindow.js"></script>
    <form id="Form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
        <fieldset>
            <table>
                <tr class="alignleft">
                    <td>
                        <label>Loại phiếu thu: </label>
                    </td>
                    
                    <td style="width: 330px">
                        <telerik:RadComboBox runat="server" ID="cbTypeOfFee"/>
                    </td>
                    
                    <td>
                        <label>Ngày hoạch toán: </label>
                    </td>

                    <td>
                        <telerik:RadDatePicker ID="dpHTDate" runat="server">
                            <ClientEvents OnPopupOpening="AdjustRadWidow" OnPopupClosing="AdjustRadWidow" />
                        </telerik:RadDatePicker>
                    </td>
                </tr>
                <tr class="alignleft">
                    <td>
                        <label>Diễn giải: </label>
                    </td>

                    <td>
                        <asp:TextBox ID="txtDescription" Width="300px" runat="server"/>
                    </td>
                    
                    <td>
                        <label>Ngày lập phiếu thu: </label>
                    </td>

                    <td>
                        <telerik:RadDatePicker ID="dpLPTDate" runat="server">
                            <ClientEvents OnPopupOpening="AdjustRadWidow" OnPopupClosing="AdjustRadWidow" />
                        </telerik:RadDatePicker>
                    </td>
                </tr>
                <tr class="alignleft">
                    
                    <td>
                        <label>Tỷ giá giao dịch: </label>
                    </td>

                    <td>
                        <telerik:RadComboBox runat="server" Width="61px" ID="cbCurrency"/>
                        &nbsp;
                        <asp:TextBox ID="txtVND" Width="59px" runat="server" Height="19px" />
                    </td>
                    
                    <td>
                        <label>Quyển số: </label>
                    </td>

                    <td>
                        <asp:TextBox ID="txtBookNo" Width="175px" runat="server"/>
                    </td>
                </tr>
                <tr class="alignleft">
                    
                    <td>
                        <label>Hạn thanh toán: </label>
                    </td>

                    <td>
                        <telerik:RadDatePicker ID="dpDeadline" runat="server">
                            <ClientEvents OnPopupOpening="AdjustRadWidow" OnPopupClosing="AdjustRadWidow" />
                        </telerik:RadDatePicker>
                    </td>
                    
                    <td>
                        <label>Số phiếu thu: </label>
                    </td>

                    <td>
                        <asp:TextBox ID="txtFeeNo" Width="175px" runat="server"/>
                    </td>
                </tr>
                <tr class="alignleft">
                    <td>
                        <label>Hóa đơn liên quan: </label>
                    </td>

                    <td>
                        <asp:TextBox ID="txtInvoice" Width="175px" runat="server" />
                    </td>
                    
                    <td>
                        <label>Số serial: </label>
                    </td>

                    <td>
                        <asp:TextBox ID="txtSerialNo" Width="175px" runat="server"/>
                    </td>
                </tr>
                </table>
        </fieldset>
        <telerik:RadGrid runat="server" ID="RadGrid2" AllowPaging="true" AllowSorting="true"
                AllowFilteringByColumn="true" PageSize="5">
                <MasterTableView DataKeyNames="ProductID" ClientDataKeyNames="ProductID">
                    <PagerStyle Mode="NumericPages" />
                    <Columns>
                        <telerik:GridBoundColumn DataField="ProductID" HeaderText="ProductID"
                            DataType="System.Int32" >
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName"
                            DataType="System.String">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="UnitPrice" HeaderText="UnitPrice"
                            DataType="System.Decimal" DataFormatString="{0:C}">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ReorderLevel" HeaderText="ReorderLevel"
                            DataType="System.Int32">
                        </telerik:GridBoundColumn>
                        <telerik:GridCheckBoxColumn DataField="Discontinued" HeaderText="Discontinued"
                            DataType="System.Boolean">
                        </telerik:GridCheckBoxColumn>
                    </Columns>
                    <PagerStyle Mode="NumericPages" />
                </MasterTableView>
                <ClientSettings>
                
                </ClientSettings>
            </telerik:RadGrid>
        <div class="buttoncenter">
            <telerik:RadButton ID="bSave" runat="server" Text="Lưu" Width="100px"></telerik:RadButton>
            <telerik:RadButton ID="bPrint" runat="server" Text="In" Width="100px"></telerik:RadButton>
            <telerik:RadButton ID="bClose" runat="server" Text="Hủy bỏ" Width="100px"></telerik:RadButton>
        </div>
    </form>
</asp:Content>

